﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Layans.Data
{
    public class PageCard
    {

        public int CardId { get; set; }

        [Required]
        [StringLength(5000, MinimumLength = 2, ErrorMessage = "полето трябва  да е минимум 2 и максимум 5000 символа")]
        public string Cards { get; set; }

        public User User { get; set; }

        public PagePicAvatar Img { get; set; }

        public PageInfo PageName { get; set; }
    }
}
